package com.egreen.pointsmall.utils;

import java.util.Random;

public class seriaNumberMake{
    /**
     * 生成订单的随机编号类
     *
     * @return
     */
    public static String seriaNumberMake() {
        String seriaNumber = null;
        try {
            StringBuffer result = new StringBuffer();
            for (int i = 0; i < 32; i++) {
                result.append(Integer.toHexString(new Random().nextInt(16)));
            }
            seriaNumber = result.toString().toUpperCase();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return seriaNumber;
    }
}
